
<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">


    <div class="layui-form-item">
        <label class="layui-form-label">选择优惠券</label>
        <div class="layui-input-inline">
            <script type="text/html" template lay-url="coupon/list?limit=100" lay-done="layui.form.render(null,'layuiadmin-app-form-list');">
                <select name="coupon_id" lay-verify="required">
                    <option value="0">选择优惠券</option>
                    {{# layui.each(d.data,function(index,item){ }}
                    {{# if(item.type == 2){ }}
                    <option value="{{ item.id }}" >{{ item.name }}</option>
                    {{# } }}
                    {{# }); }}
                </select>
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="mobile" value=" " class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发放对象</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="radio" name="type" value="1" title="手机用户" checked >
                <input type="radio" name="type" value="2" title="所有用户">
            </script>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" value="确认" class="layui-btn">
        </div>
    </div>

</div>
